//工作详情 | 新建工作
const workInfoFiledList = [{
  type: 'select',
  label: '项目',
  placeholder: '请选择',
  labelWidth: "110px",
  isRequired: true,
  optionList: [],
  keyName: 'projectKey',
  valName: 'projectName',
  bindFieldName: 'projectKey',
  bindFieldVal: '',
}, {
  type: 'text',
  label: '工作描述',
  placeholder: '请输入',
  labelWidth: "110px",
  isRequired: true,
  bindFieldName: 'description',
  bindFieldVal: '',
}, {
  type: 'select',
  label: '任务类型',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'key',
  valName: 'value',
  bindFieldName: 'workType',
  bindFieldVal: '',
}, {
  type: 'select',
  label: '重要程度',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'key',
  valName: 'value',
  bindFieldName: 'importantDegree',
  bindFieldVal: '',
}, {
  type: 'select',
  label: '进展',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'key',
  valName: 'value',
  bindFieldName: 'workStatus',
  bindFieldVal: '',
}, {
  type: 'select',
  label: '相关部门',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'primaryKey',
  valName: 'orgName',
  bindFieldName: 'organizationKey',
  bindFieldVal: '',
}, {
  type: 'select',
  label: '工作负责人',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'primaryKey',
  valName: 'employeeName',
  bindFieldName: 'processorKey',
  bindFieldVal: '',
}, {
  type: 'date',
  label: '开始日期',
  placeholder: '请选择',
  isRequired: true,
  bindFieldName: 'startTime',
  bindFieldVal: '',
}, {
  type: 'date',
  label: '截止日期',
  placeholder: '请选择',
  isRequired: true,
  bindFieldName: 'endTime',
  bindFieldVal: '',
}]

const workInfoFiledAddList = [{
  type: 'text',
  inputType:"textarea",
  label: '工作描述',
  placeholder: '请输入',
  labelWidth: "110px",
  isRequired: true,
  bindFieldName: 'description',
  bindFieldVal: '',
  colSpan: 24
}, {
  type: 'select',
  label: '工作类型',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'key',
  valName: 'value',
  bindFieldName: 'workType',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'select',
  label: '相关项目',
  placeholder: '请选择',
  labelWidth: "110px",
  isRequired: true,
  optionList: [],
  keyName: 'projectKey',
  valName: 'projectName',
  bindFieldName: 'projectKey',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'date',
  label: '开始日期',
  placeholder: '请选择',
  isRequired: true,
  bindFieldName: 'startTime',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'date',
  label: '截止日期',
  placeholder: '请选择',
  isRequired: true,
  bindFieldName: 'endTime',
  bindFieldVal: '',
  colSpan: 12
},{
  type: 'select',
  label: '相关部门',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'primaryKey',
  valName: 'orgName',
  bindFieldName: 'organizationKey',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'select',
  label: '工作负责人',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'primaryKey',
  valName: 'employeeName',
  bindFieldName: 'processorKey',
  bindFieldVal: '',
  colSpan: 12
}]

const projectEventAddList = [{
  type: 'text',
  inputType:"textarea",
  label: '事件描述',
  placeholder: '请输入',
  labelWidth: "110px",
  isRequired: true,
  bindFieldName: 'description',
  bindFieldVal: '',
  colSpan: 24
}, {
  type: 'select',
  label: '事件类型',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'key',
  valName: 'value',
  bindFieldName: 'workType',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'select',
  label: '相关项目',
  placeholder: '请选择',
  labelWidth: "110px",
  isRequired: true,
  optionList: [],
  keyName: 'projectKey',
  valName: 'projectName',
  bindFieldName: 'projectKey',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'date',
  label: '开始日期',
  placeholder: '请选择',
  isRequired: true,
  bindFieldName: 'startTime',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'date',
  label: '结束日期',
  placeholder: '请选择',
  isRequired: true,
  bindFieldName: 'endTime',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'select',
  label: '进展',
  placeholder: '请选择',
  isRequired: true,
  optionList: [
    { key:5, name:"未解决"},
    { key:3, name:"已解决"}
  ],
  keyName: 'key',
  valName: 'name',
  bindFieldName: 'workStatus',
  bindFieldVal: '',
  colSpan: 12
}, {
  type: 'select',
  label: '相关部门',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'primaryKey',
  valName: 'orgName',
  bindFieldName: 'organizationKey',
  bindFieldVal: '',
  colSpan: 12
},{
  type: 'select',
  label: '汇报对象',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'primaryKey',
  valName: 'employeeName',
  bindFieldName: 'processorKey',
  bindFieldVal: '',
  colSpan: 12
}]

const evolveFiledList = [{
  type: 'select',
  label: '进展',
  placeholder: '请选择',
  isRequired: true,
  optionList: [],
  keyName: 'key',
  valName: 'value',
  bindFieldName: 'workStatus',
  bindFieldVal: '',
  labelWidth: "110px",
  colSpan: 24
}, {
  type: 'text',
  label: '进展说明',
  placeholder: '请输入',
  labelWidth: "110px",
  isRequired: true,
  bindFieldName: 'description',
  bindFieldVal: '',
  inputType: "textarea",
  colSpan: 24
}]

const summaryInfoFiledList = [{
    type: 'text',
    label: '会议主题',
    placeholder: '请输入',
    labelWidth: "110px",
    isRequired: true,
    bindFieldName: 'meetingTheme',
    bindFieldVal: '',
  }, {
    type: 'date',
    label: '会议时间',
    placeholder: '请选择',
    isRequired: true,
    bindFieldName: 'meetingTime',
    bindFieldVal: '',
    inputType: "datetime"
  },
  {
    type: 'text',
    label: '会议地点',
    placeholder: '请输入',
    labelWidth: "110px",
    isRequired: true,
    bindFieldName: 'meetingLocation',
    bindFieldVal: '',
  },
  {
    type: 'text',
    label: '会议参与人',
    placeholder: '请输入',
    labelWidth: "110px",
    isRequired: true,
    bindFieldName: 'meetingParticipants',
    bindFieldVal: '',
    colSpan: 24
  },
  {
    type: 'text',
    label: '会议内容',
    placeholder: '请输入',
    labelWidth: "110px",
    isRequired: true,
    bindFieldName: 'meetingContent',
    bindFieldVal: '',
    inputType: "textarea",
    maxlength: 100,
    colSpan: 24
  }
]

export {
  workInfoFiledList,
  evolveFiledList,
  summaryInfoFiledList,
  workInfoFiledAddList,
  projectEventAddList
}
